package com.spr.gw.service;

import com.spr.gw.common.ResultBean;
import com.spr.gw.entity.Category;

import java.util.List;

/**
 * Created by lsy
 * on 2017/10/25 16:19.
 */
public interface CategoryService {

    ResultBean<List<Category>> getCategoryByType(String typeid);

    List<Category> findChildCategoryByPid(Integer i);

    Category findCategoryByPrimaryKey(Integer id);
}
